$OpenBSD: patch-configure,v 1.4 2010/06/26 14:32:15 ckuethe Exp $
--- configure.orig	Fri Jun 25 21:20:03 2010
+++ configure	Fri Jun 25 21:38:41 2010
@@ -6433,12 +6433,12 @@ cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 #include <libintl.h>
 extern int _nl_msg_cat_cntr;
-extern int *_nl_domain_bindings;
+extern int *_nl_domain_bindings__;
 int
 main ()
 {
 bindtextdomain ("", "");
-return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
+return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings__
   ;
   return 0;
 }
@@ -6840,7 +6840,7 @@ cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 #include <libintl.h>
 extern int _nl_msg_cat_cntr;
-extern int *_nl_domain_bindings;
+extern int *_nl_domain_bindings__;
 extern
 #ifdef __cplusplus
 "C"
@@ -6886,7 +6886,7 @@ cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 #include <libintl.h>
 extern int _nl_msg_cat_cntr;
-extern int *_nl_domain_bindings;
+extern int *_nl_domain_bindings__;
 extern
 #ifdef __cplusplus
 "C"
@@ -6896,7 +6896,7 @@ int
 main ()
 {
 bindtextdomain ("", "");
-return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)
+return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings__ + *_nl_expand_alias (0)
   ;
   return 0;
 }
@@ -6951,9 +6951,9 @@ echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
                 INTLOBJS="\$(GETTOBJS)"
         BUILD_INCLUDED_LIBINTL=yes
         USE_INCLUDED_LIBINTL=yes
-        LIBINTL="\${top_builddir}/intl/libintl.a $LIBICONV"
-        LTLIBINTL="\${top_builddir}/intl/libintl.a $LTLIBICONV"
-        LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
+        LIBINTL="-lintl -liconv"
+        LTLIBINTL="-lint -liconv"
+        # LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
       fi
 
       if test "$gt_use_preinstalled_gnugettext" = "yes" \
